package com.ydkj.a37e_mall.Classes.Model.Response;

/**
 * Created by hong on 2016/4/1.
 */
public class GetMallOrderResp {

    /**
     * errno : 000
     * errmsg : 成功生成订单
     * result : {"data":{"order_id":15,"order_sn":"20160401744655"},"total_page":"","current_page":"","total":"","access_token":""}
     */

    private String errno;
    private String errmsg;
    /**
     * data : {"order_id":15,"order_sn":"20160401744655"}
     * total_page :
     * current_page :
     * total :
     * access_token :
     */

    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity {
        /**
         * order_id : 15
         * order_sn : 20160401744655
         */

        private DataEntity data;
        private String total_page;
        private String current_page;
        private String total;
        private String access_token;

        public DataEntity getData() {
            return data;
        }

        public void setData(DataEntity data) {
            this.data = data;
        }

        public String getTotal_page() {
            return total_page;
        }

        public void setTotal_page(String total_page) {
            this.total_page = total_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public static class DataEntity {
            private int order_id;
            private String order_sn;

            public int getOrder_id() {
                return order_id;
            }

            public void setOrder_id(int order_id) {
                this.order_id = order_id;
            }

            public String getOrder_sn() {
                return order_sn;
            }

            public void setOrder_sn(String order_sn) {
                this.order_sn = order_sn;
            }
        }
    }
}
